package com.googlecode.stemwijzer.client;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.googlecode.stemwijzer.shared.model.IsAnswer;
import com.googlecode.stemwijzer.shared.model.IsQuestion;
import com.googlecode.stemwijzer.shared.model.IsQuestionnaireResult;

public interface StemwijzerServiceAsync {
	void registerUser(String userName, AsyncCallback<Boolean> callback);

	void sendAnswer(IsQuestion question, IsAnswer answer,
			AsyncCallback<Boolean> callback);

	void getResult(AsyncCallback<IsQuestionnaireResult> callback);

	void resetSession(AsyncCallback<Boolean> callback);
}
